<template>
	<view class="content">
		<view class="cons"><rich-text :nodes="aboutus"></rich-text></view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				aboutus:'',
			}
		},
		onShow() {
			this.initdata()
		},
		methods: {
			initdata(){
				this.$common.requests('/api/shop/aboutus').then(res =>{
					if(res.data.code == 1){
						this.aboutus = res.data.data;
					}else{
						this.$api.msg(res.data.msg)
					}
				})
			},
		}
	}
</script>

<style>
	.content{
		width: 100vw;
		height: 100vh;
		border-top: 1px solid #E6E6E6;
	}
	.cons{
		padding: 30upx;
		line-height: 50upx;
		font-size: 30upx;
	}
</style>
